<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ taglib prefix="ef" uri="control"%>
<ef:init method="CompanyResource.init">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${Title}</title>
<link rel="shortcut icon" href="${res}favicon.ico" type="image/x-icon" />
 <!--Basic Styles-->
<link href="../framework/css/font.css" rel="stylesheet" />
<link href="../framework/miniui/themes/material/miniui.css" rel="stylesheet" />
<link href="../framework/css/app.min.1.css" rel="stylesheet" type="text/css" />
<link href="../framework/css/app.min.2.css" rel="stylesheet" type="text/css" />
<script src="../framework/main.js" type="text/javascript"></script>
<style type="text/css">
    html, body{
        margin:0;padding:0;border:0;width:100%;height:100%;overflow:hidden;
    }    
    .input-group-addon{width:100px;text-align:right;}
</style>

<script type="text/javascript">
	Page.onLoad(function(){
		mini.get('JobTitle').load({BranchInnerCode:'${BranchInnerCode}'});
	});
	
	function onCloseClick(e) {
	    var obj = e.sender;
	    obj.setText("");
	    obj.setValue("");
	}
</script>
</head>
<body>
<form id="form2">
	<input class="mini-hidden" name="ID" id="ID" value="${ID}" />
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-12">
				<div class="card" style="box-shadow:none;">
					<div class="input-group">
						<span class="input-group-addon">用户名：</span>
						<input class="mini-textbox" value="${UserName}" autocomplete="off" type="text" id="UserName" name="UserName" required="true"/>
					</div>
					
					<div class="input-group" id="passInput">
						<span class="input-group-addon">密码：</span>
						<input class="mini-password" value="${Password}" autocomplete="off" type="text" id="Password" name="Password"/>
					</div>
					
					<div class="input-group">
						<span class="input-group-addon">工号：</span>
						<input class="mini-textbox" value="${EmployeeNumber}" type="text" id="EmployeeNumber"  name="EmployeeNumber" />
					</div>
					
					<div class="input-group">
						<span class="input-group-addon">姓名：</span>
						<input class="mini-textbox" value="${RealName}" type="text" id="RealName"  name="RealName" required="true" />
					</div>
					
					<div class="input-group">
						<span class="input-group-addon">所属部门：</span>
						<input id="BranchInnerCode" class="mini-treeselect" method="MemberBranch.tree" textField="Name" required="true" style="width:200px" resultAsTree="false" idField="BranchInnerCode" parentField="ParentInnerCode" text="${BranchName}" value="${BranchInnerCode}" valueField="BranchInnerCode"/>
					</div>
					
					<div class="input-group">
						<span class="input-group-addon">手机号：</span>
						<input class="mini-textbox" value="${Mobile}" type="text" id="Mobile"  name="Mobile" required="true" verify="CnMobile" />
					</div>
					
					<%-- <div class="input-group">
						<span class="input-group-addon">人员角色：</span>
						<input class="mini-textbox" value="${RoleName}" type="text" id="RoleName"  name="RoleName" />
					</div> --%>
					
					<div class="input-group">
						<span class="input-group-addon">性别：</span>
						<input class="mini-combobox" value="${Gender}" type="text" data=<e:option code="Gender"/> id="Gender"  name="Gender" />
					</div>
					
					<div class="input-group">
						<span class="input-group-addon">岗位：</span>
    					<div id="JobTitle" class="mini-combobox" style="width:250px;"  popupWidth="400" textField="Name" valueField="ID" required="true"
						    method="JobTitle.allTable" value="${JobTitle}" name="JobTitle" multiSelect="true"  showClose="true" oncloseclick="onCloseClick" >     
						    <div property="columns">
						        <div header="编号" field="ID"></div>
						        <div header="岗位名称" field="Name"></div>
						    </div>
						</div>	   
					</div>
					
					<div class="input-group">
						<span class="input-group-addon">邮箱</span>
						<input class="mini-textbox" value="${Email}" type="text" id="Email" name="Email"/>
					</div>
				</div>	
			</div>
		</div>
	</div>
</form>
</body>
</ef:init>
</html>

